import { createApp } from 'vue'
import { createWebHashHistory, createRouter } from 'vue-router'

// import App from './api/aiChat.vue'
// import App from './api/computer.vue'
// import App from './api/demo3.vue'
// import App from './api/damo4.vue'
// import App from './api/demo5.vue'
// import App from './apiapi/login.vue'
// import App from './api/demo6.vue'
// import App from './api/demo7.vue'
// import App from './api/demo8.vue'
// import App from './api/demo9.vue'
// import App from './api/demo10.vue'
// import App from './api/demo11.vue'
import App from './api/demo12.vue'
import App from './api/demo10.vue'
import echarts from './api/demo11.vue'
import goodsList from './api/demo12.vue'
const routes = [
  { path: '/echarts', component: echarts }, // 不加r
  { path: '/goodsList', component: goodsList },
]
const router = createRouter({
  history: createWebHashHistory(),
  routes,
})
// import App from './work/checkWork.vue'
// import App from './App.vue'
import './style/index.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
const app = createApp(App)
app.use(router)
app.use(ElementPlus)
app.mount('#app')